#include "Comm_Menu4.h"

void changeText_R(char R_value[])
{
    //EE B1 10 00 04 00 01 CF DF D7 E8 3A 30 30 2E 30 30 30 30 30 30 A6 B8 FF FC FF FF 
    uint8_t temp[28]={0xEE, 0xB1, 0x10, 0x00, 0x04, 0x00, 0x01, 0xCF, 0xDF, 0xD7, 0xE8, 0x3A, 0x30, 0x30, 0x2E, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0xA6, 0xB8, 0xFF, 0xFC, 0xFF, 0xFF},i;
    
    for(i=0;i<2;i++)
        temp[12+i] = (R_value[i]-'0')|0x30;
    for(i=0;i<6;i++)
        temp[15+i] = (R_value[i+3]-'0')|0x30;
        
    USART1_SendArray(temp, 28);
    USART1_SendArray(temp, 28);
}
